<?php

class Involved_AbutPartnerModel extends BaseModel
{

    protected $table = 'abut_partner';


    public function PartnerSelect()
    {
        return DB::table($this->table)
            ->select('partner_id','partner_name','img','introduce','url','created')
            ->get();
    }
    public function GetPartnerId($partner_id)
    {
        return DB::table($this->table)
            ->select('partner_id','partner_name','img','introduce','url','created')
            ->where('partner_id',$partner_id)
            ->first();
    }
    public function Partner()
    {
        return DB::table($this->table)
        ->select('partner_id','partner_name')
        ->get();
    }
}
